export function getToken() {
  return localStorage.getItem('token')
}

export function setToken(token) {
  return localStorage.setItem('token', token)
}

export function removeToken() {
  return localStorage.removeItem('token')
}

export function setOssPolicy(policy) {
  return localStorage.setItem('ossPolicy', JSON.stringify(policy))
}

export function getOssPolicy() {
  return JSON.parse(localStorage.getItem('ossPolicy'))
}
